@import 'variables';
.user-profile-header{
  padding:calc(1.4vw + 8px) 0px;
  font-family: $helvetica;
  position:relative;
  overflow:hidden;
  width:1216px;
  max-width:92%;
  margin: 30px auto 20px;
  background: white;
  border-radius: 3px;
  @media screen and ( min-width: 950px ){
    max-width:98%;
  }
  @media screen and ( min-width: 1100px ){
    padding: 25px 0px 11px;
  }
  &.tag-header{
    @media screen and ( min-width: 1100px ){
      padding: 0px 0px 1.2vw;
    }
    h1{
      font-size:calc(3vw + 23px);
      margin-top:1.2vw;
      margin-bottom:8px;
      margin-left:3%;
      text-align:center;
      width:94%;
      &.query-header-text{
        font-size:calc(0.9vw + 28px);
        font-weight:500;
      }
    }
  }
  &.readinglist-header{
    display: block;
    @media screen and ( min-width: 950px ){
      display: none;
    }
  }
  &.podcast-header{
    background:rgb(5, 22, 32);
    text-align:center;
    padding-bottom:60px;
    color:white;
    h1{
      font-size:calc(2vw + 28px);
    }
    img.record{
      height:150px;
      width:150px;
      border-radius:100px;
      border:0px;
      display:block;
      margin:0px auto 10px;
    }
    @media screen and ( min-width: 950px ){
      img.record{
        height:calc(2.4vw + 50px);
        width:calc(2.4vw + 50px);
        display:inline-block;
        vertical-align:calc(-1vw - 15px);
      }
    }
    .subscribe-buttons{
      text-align:center;
      margin-top:35px;
      z-index:10;
      position:relative;
      a{
        padding:5px;
        background-color:rgb(47, 61, 73);
        color:white;
        border-radius:3px;
        margin:6px;
        font-size:14px;
        display:inline-block;
        width:40%;
        border: 1px solid rgb(60, 81, 99);
        box-shadow: inset 1px 1px 0 rgb(72, 95, 116);
        transition: background-color 250ms ease;
        @media screen and ( min-width: 590px ){
          width:112px;
        }
        &:hover{
          background-color:rgb(41, 46, 52);
        }
        img{
          width:20px;
          height:20px;
          vertical-align:-4px;
          margin-right:4px;
        }
      }
    }
  }
  .user-profile-header-container,.tag-or-query-header-container{
    max-width:96%;
    margin: auto;
    overflow-y: auto;
    h1 {
      position:relative;
    }
    a{
      color:rgb(97, 97, 97);
    }
    .notifications-header{
      font-size:calc(26px + 0.2vw);
      padding-bottom:13px;
      font-weight:600;
      img{
        width: calc(27px + 0.2vw);
        margin-right: 9px;
        vertical-align:-3px;
      }
    }
    .profile-pic-wrapper{
      float:left;
      width:calc(14.5vw + 60px);
      max-width: 270px;
      position:relative;
      z-index:5;
      .profile-pic{
        width:calc(12.2vw + 50px);
        height:calc(12.2vw + 50px);
        border-radius:200px;
        max-width:220px;
        max-height:220px;
        border: 4px solid white;
        margin-top:2vw;
        background: no-repeat center center;
        background-size: cover;
        img{
          height: 100%;
          width: 100%;
        }
      }
    }
    .profile-details{
      float:left;
      width:calc(100% - (13vw + 95px));
      padding-top: calc(2px + 2.7vw);
      @media screen and ( min-width: 1100px ){
        min-height: 270px;
      }
      h1{
        margin:5px auto 1vw;
        font-weight:bold;
        color:rgb(27, 27, 28);
        font-size:26px;
        padding:0;
        padding-right: 15px;
        line-height:1.1em;
        @media screen and ( min-width: 430px ){
          font-size:calc( 5vw + 10px);
        }
        @media screen and ( min-width: 950px ){
          font-size:70px;
          margin-top:0px;
        }
        > span:nth-child(1) {
          word-break: break-word;
          display: block;
        }
      }
      p.profile-description{
        padding:0px 0px;
        margin:0;
        font-style: italic;
        color:$medium-gray;
        width: 94%;
        font-size:0.9em;
        margin-top:12px;
        max-width:550px;
        @media screen and ( min-width: 430px ){
          font-size:0.97em;
          margin-top:0px;
        }
      }
    }
    .social{
      font-size:15px;
      // width:550px;
      max-width:100%;
      margin:10px 0px 10px;
      z-index:3;
      position:relative;
      a{
        margin-right:5px;
        display:inline-block;
        margin-bottom:0px;
        margin-top:0px;
        padding:3px;
        .icon-img{
          vertical-align:-6px;
          opacity:1;
          padding:3px;
          width:23px;
          height:23px;
          margin: 0px 0px;
          @media screen and ( min-width: 580px ){
            margin:3px;
            width:28px;
            height:28px;
            margin-right: 8px;
          }
          @media screen and ( min-width: 1100px ){
            margin:1px;
            margin-right: 5px;
            width:30px;
            height:30px;
            margin-bottom: 40px;
          }
        }
      }
    }
  }
  .user-profile-header-container{
    @media screen and ( min-width: 1100px ){
      width: calc( 100% - 420px);
      margin-left: 6%;
    }
  }
  .user-metadata-details{
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    width: 97%;
    @media screen and ( min-width: 1100px ){
      position: absolute;
      right: 0px;
      top: 0px;
      bottom: 0px;
      width: 370px;
    }
    .user-metadata-details-inner{
      padding: 8px 0px;
      margin-left: 5%;
      @media screen and ( min-width: 430px ){
        font-size: 1.15em;
        padding: 15px 0px;
      }
      @media screen and ( min-width: 1100px ){
        position: absolute;
        top: 45%;
        transform: translateY(-45%);
        border-left: 3px solid $outline-color;
        padding: 15px 0px;
      }
      .row{
        padding: calc(5px + 0.2vw) 0px;
        display: inline-block;
        padding-left: 16px;
        width: 322px;
        max-width:92%;
      }
      .key{
        font-size: 0.7em;
        font-weight: 800;
        margin-bottom: 2px;
        color: $medium-gray;
      }
      .value{
        display: inline-block;
        font-size: 0.85em;
        margin-bottom: 4px;
      }
    }
  }
  .tag-action-buttons{
    height:30px;
    margin-top:calc(0.5vw + 6px);
    margin-bottom:8px;
    margin-left:1%;
    text-align:center;
    @media screen and ( min-width: 430px ){
      margin-bottom:20px;
    }
    @media screen and ( min-width: 800px ){
      margin-bottom:25px;
    }
    @media screen and ( min-width: 850px ){
      margin-bottom:10px;
    }
    @media screen and ( min-width: 950px ){
      margin-left: calc(0.2vw + 320px);
      text-align:left;
    }
  }
  .user-profile-follow-button-wrapper{
    position:relative;
    z-index:5;
    display:inline-block;
    margin-left: 5px;
  }
  .user-profile-follow-button{
    background: $green;
    color:white;
    border:0;
    font-size:17px;
    border-radius:3px;
    vertical-align:3px;
    padding:2px 6px;
    cursor:pointer;
    min-width: 120px;
    opacity:0.7;
    &.showing{
      opacity:1;
    }
    @media screen and ( min-width: 430px ){
      font-size:18px;
      padding:3px 8px;
      vertical-align:7px;
      border-radius:5px;
      min-width: 140px;
    }
    @media screen and ( min-width: 950px ){
      font-size:22px;
      padding:4px 8px;
      vertical-align:12px;
      border-radius:5px;
      min-width: 140px;
    }
  }
}
